%function plot_voltages( voltage_file_name )
function plot_voltages( voltage_file_name )
data = load( voltage_file_name);
n=round(size(data,2)/6);for i=1:n,subplot(n,1,n-i+1),plot(data(:,6*(i-1)+1:6*i)),end,legend('V','U','NMDA','AMPA','GABAa','GABAb')